package com.treehouse.properties;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;

public class CrawlerProperties extends Properties implements ICrawlerProperties{

	private static final long serialVersionUID = 6156476717724982737L;

	public CrawlerProperties(String path) {
		try {
			this.load(new FileInputStream(new File(path)));
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
